﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class control_item : System.Web.UI.UserControl
{
    private string itemId;
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    public string ItemId
    {
        get { return itemId; }
        set { itemId = value; }
    }
    public string Name
    {
        get { return ItemName.Text; }
        set { ItemName.Text = value; }
    }
    public string Image
    {
        get { return ItemImage.ImageUrl; }
        set { ItemImage.ImageUrl = value; }
    }
    public string RPrice
    {
        get { return ResolvePrice.Text; }
        set { ResolvePrice.Text = value; }
    }
    public string CPrice
    {
        get { return CurrentPrice.Text; }
        set { CurrentPrice.Text = value; }
    }
    public string Descript
    {
        get { return ItemDescribe.Text; }
        set { ItemDescribe.Text = value; }
    }
    public string TargetURL
    {
        get { return Link.NavigateUrl; }
        set
        {
            Link.NavigateUrl = value;
            LinkTitle.NavigateUrl = value;
        }
    }
}